import request from "@/utils/request";
import formurlencoded from "form-urlencoded";

//产品评价列表初始化信息
export function fetchProductComments(query) {
  return request({
    url: "/admin/member/productcomments",
    method: "get",
    params: query,
  });
}

//产品评价列表
export function fetchProductCommentsList(query) {
  return request({
    url: "/admin/member/productcomments/list",
    method: "get",
    params: query,
  });
}

//审核商品评价-通过
export function passProductComments(query) {
  return request({
    url: "/admin/member/productcomments/pass",
    method: "get",
    params: query,
  });
}

//审核商品评价-不通过
export function rejectProductComments(query) {
  return request({
    url: "/admin/member/productcomments/reject",
    method: "get",
    params: query,
  });
}
